rm ./sem_ex

echo compiling sem_ex.c..
gcc -o sem_ex sem_ex.c -Wall -Werror -lpthread

echo Running..
./sem_ex

